library(stargazer)

load("models.Rda")

stargazer(fitland, fitlandnominor, fitconst, fitconstnominor,
          title = "Results", align = T, style = "apsr",
          star.cutoffs = c(0.05, 0.01, 0.001),
          type = "text",
          out = "regressiontable.htm",
          dep.var.labels   = c("AfD vote share"),
          column.labels    = c("Länder", "Constituencies"),
          column.separate  = c(2, 2),
          covariate.labels = c("East", "Log population density",
                               "Foreign-born population",
                               "Migrant-origin population",
                               "Unemployment", "Log GDP per capita",
                               "Average age", "Average education",
                               "Minor left vote", "Voting round"))